include_directories(${ulua_SOURCE_DIR}/src)
include_directories(${ulua_SOURCE_DIR}/src/src)

file(GLOB ulua_SRC
	"*.c"
	"src/*.c"
)

#add_definitions(-DLUA_COMPAT_MODULE)
add_definitions(-DLUA_COMPAT_5_1)
add_definitions(-DUSE_INTERNAL_FPCONV)
add_definitions(-DLUA_FLOORN2I=1)



add_library(ulua STATIC ${ulua_SRC})
set_target_properties(ulua PROPERTIES SUFFIX ".a")
